<template>
  <div class="common-header">
    <div class="left">
      <slot name="left"></slot>
    </div>
    <div class="center">
      <slot name="center"></slot>
    </div>
    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "Header",
  data() {
    return {};
  },
  components: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>

<style scoped lang='scss'>
.common-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.173333rem;
  padding: 0 0.533333rem;
  background-color: #f2f2f2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-sizing: border-box;
  .center {
    font-size: 0.426667rem;
    form {
      display: flex;
      justify-content: center;
      align-items: center;
      input {
        padding-left: 0.266667rem;
        width: 7.466667rem;
        height: 0.88rem;
      }
    }
  }
}
</style>